from rich.console import Console
import rich.table
console = Console()
table = rich.table.Table()

table.add_column("Name", style="cyan", no_wrap=True)
table.add_column("Age", style="green")

table.add_row('Alice', "22")
table.add_row('Bob', "23")
table.add_row('Charlie', "24")

console.print(table)